package cn.dm.controller;

import cn.dm.common.Dto;

import cn.dm.service.LocalBaseService;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
@RestController
public class BaseController {
    @Resource
    private LocalBaseService localBaseService;

    @PostMapping("/api/v/area/queryCityList")
    public Dto queryCityList()throws Exception{
        System.out.println("查询城市列表---->");
        return localBaseService.queryCityList();
    }
}
